package com.gao;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 测试异常
 *
 * @author GaoXi
 * @date 2021/8/17 19:10
 */
@Controller
public class ExceptionController {

    @RequestMapping("testEx")
    public String testEx() {
        int a = 1 / 0;
        return "success";
    }

}
